package com.maimao.api.mall.info;

import com.maimao.core.model.resp.Result;
import com.maimao.model.info.Collect;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.validation.BindingResult;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;
import java.util.Map;

/**
 * @author MaoLin Wang
 * @date 2021/1/11 5:24 下午
 */
@Api("收藏API")
@RequestMapping("/info/collect")
public interface CollectionApi {

    @ApiOperation("添加收藏")
    Result<?> addCollect(List<Collect> collectList);

    @ApiOperation("收藏的商品")
    Result<?> collectGoodsList();
    @ApiOperation("移除关注")
    Result<?> remove(Map<String,Long> data);
}
